using System;
using System.Collections.Generic;
using System.Reflection;
using System.Runtime.InteropServices;

using ILRuntime.CLR.TypeSystem;
using ILRuntime.CLR.Method;
using ILRuntime.Runtime.Enviorment;
using ILRuntime.Runtime.Intepreter;
using ILRuntime.Runtime.Stack;
using ILRuntime.Reflection;
using ILRuntime.CLR.Utils;
using System.Linq;

namespace ILRuntime.Runtime.Generated
{
    unsafe class huqiang_FileDlg_Binding
    {
        public static void Register(ILRuntime.Runtime.Enviorment.AppDomain app)
        {
            BindingFlags flag = BindingFlags.Public | BindingFlags.Instance | BindingFlags.Static | BindingFlags.DeclaredOnly;
            MethodBase method;
            FieldInfo field;
            Type[] args;
            Type type = typeof(huqiang.FileDlg);

            field = type.GetField("structSize", flag);
            app.RegisterCLRFieldGetter(field, get_structSize_0);
            app.RegisterCLRFieldSetter(field, set_structSize_0);
            app.RegisterCLRFieldBinding(field, CopyToStack_structSize_0, AssignFromStack_structSize_0);
            field = type.GetField("dlgOwner", flag);
            app.RegisterCLRFieldGetter(field, get_dlgOwner_1);
            app.RegisterCLRFieldSetter(field, set_dlgOwner_1);
            app.RegisterCLRFieldBinding(field, CopyToStack_dlgOwner_1, AssignFromStack_dlgOwner_1);
            field = type.GetField("instance", flag);
            app.RegisterCLRFieldGetter(field, get_instance_2);
            app.RegisterCLRFieldSetter(field, set_instance_2);
            app.RegisterCLRFieldBinding(field, CopyToStack_instance_2, AssignFromStack_instance_2);
            field = type.GetField("filter", flag);
            app.RegisterCLRFieldGetter(field, get_filter_3);
            app.RegisterCLRFieldSetter(field, set_filter_3);
            app.RegisterCLRFieldBinding(field, CopyToStack_filter_3, AssignFromStack_filter_3);
            field = type.GetField("customFilter", flag);
            app.RegisterCLRFieldGetter(field, get_customFilter_4);
            app.RegisterCLRFieldSetter(field, set_customFilter_4);
            app.RegisterCLRFieldBinding(field, CopyToStack_customFilter_4, AssignFromStack_customFilter_4);
            field = type.GetField("maxCustFilter", flag);
            app.RegisterCLRFieldGetter(field, get_maxCustFilter_5);
            app.RegisterCLRFieldSetter(field, set_maxCustFilter_5);
            app.RegisterCLRFieldBinding(field, CopyToStack_maxCustFilter_5, AssignFromStack_maxCustFilter_5);
            field = type.GetField("filterIndex", flag);
            app.RegisterCLRFieldGetter(field, get_filterIndex_6);
            app.RegisterCLRFieldSetter(field, set_filterIndex_6);
            app.RegisterCLRFieldBinding(field, CopyToStack_filterIndex_6, AssignFromStack_filterIndex_6);
            field = type.GetField("file", flag);
            app.RegisterCLRFieldGetter(field, get_file_7);
            app.RegisterCLRFieldSetter(field, set_file_7);
            app.RegisterCLRFieldBinding(field, CopyToStack_file_7, AssignFromStack_file_7);
            field = type.GetField("maxFile", flag);
            app.RegisterCLRFieldGetter(field, get_maxFile_8);
            app.RegisterCLRFieldSetter(field, set_maxFile_8);
            app.RegisterCLRFieldBinding(field, CopyToStack_maxFile_8, AssignFromStack_maxFile_8);
            field = type.GetField("fileTitle", flag);
            app.RegisterCLRFieldGetter(field, get_fileTitle_9);
            app.RegisterCLRFieldSetter(field, set_fileTitle_9);
            app.RegisterCLRFieldBinding(field, CopyToStack_fileTitle_9, AssignFromStack_fileTitle_9);
            field = type.GetField("maxFileTitle", flag);
            app.RegisterCLRFieldGetter(field, get_maxFileTitle_10);
            app.RegisterCLRFieldSetter(field, set_maxFileTitle_10);
            app.RegisterCLRFieldBinding(field, CopyToStack_maxFileTitle_10, AssignFromStack_maxFileTitle_10);
            field = type.GetField("initialDir", flag);
            app.RegisterCLRFieldGetter(field, get_initialDir_11);
            app.RegisterCLRFieldSetter(field, set_initialDir_11);
            app.RegisterCLRFieldBinding(field, CopyToStack_initialDir_11, AssignFromStack_initialDir_11);
            field = type.GetField("title", flag);
            app.RegisterCLRFieldGetter(field, get_title_12);
            app.RegisterCLRFieldSetter(field, set_title_12);
            app.RegisterCLRFieldBinding(field, CopyToStack_title_12, AssignFromStack_title_12);
            field = type.GetField("flags", flag);
            app.RegisterCLRFieldGetter(field, get_flags_13);
            app.RegisterCLRFieldSetter(field, set_flags_13);
            app.RegisterCLRFieldBinding(field, CopyToStack_flags_13, AssignFromStack_flags_13);
            field = type.GetField("fileOffset", flag);
            app.RegisterCLRFieldGetter(field, get_fileOffset_14);
            app.RegisterCLRFieldSetter(field, set_fileOffset_14);
            app.RegisterCLRFieldBinding(field, CopyToStack_fileOffset_14, AssignFromStack_fileOffset_14);
            field = type.GetField("fileExtension", flag);
            app.RegisterCLRFieldGetter(field, get_fileExtension_15);
            app.RegisterCLRFieldSetter(field, set_fileExtension_15);
            app.RegisterCLRFieldBinding(field, CopyToStack_fileExtension_15, AssignFromStack_fileExtension_15);
            field = type.GetField("defExt", flag);
            app.RegisterCLRFieldGetter(field, get_defExt_16);
            app.RegisterCLRFieldSetter(field, set_defExt_16);
            app.RegisterCLRFieldBinding(field, CopyToStack_defExt_16, AssignFromStack_defExt_16);
            field = type.GetField("custData", flag);
            app.RegisterCLRFieldGetter(field, get_custData_17);
            app.RegisterCLRFieldSetter(field, set_custData_17);
            app.RegisterCLRFieldBinding(field, CopyToStack_custData_17, AssignFromStack_custData_17);
            field = type.GetField("hook", flag);
            app.RegisterCLRFieldGetter(field, get_hook_18);
            app.RegisterCLRFieldSetter(field, set_hook_18);
            app.RegisterCLRFieldBinding(field, CopyToStack_hook_18, AssignFromStack_hook_18);
            field = type.GetField("templateName", flag);
            app.RegisterCLRFieldGetter(field, get_templateName_19);
            app.RegisterCLRFieldSetter(field, set_templateName_19);
            app.RegisterCLRFieldBinding(field, CopyToStack_templateName_19, AssignFromStack_templateName_19);
            field = type.GetField("reservedPtr", flag);
            app.RegisterCLRFieldGetter(field, get_reservedPtr_20);
            app.RegisterCLRFieldSetter(field, set_reservedPtr_20);
            app.RegisterCLRFieldBinding(field, CopyToStack_reservedPtr_20, AssignFromStack_reservedPtr_20);
            field = type.GetField("reservedInt", flag);
            app.RegisterCLRFieldGetter(field, get_reservedInt_21);
            app.RegisterCLRFieldSetter(field, set_reservedInt_21);
            app.RegisterCLRFieldBinding(field, CopyToStack_reservedInt_21, AssignFromStack_reservedInt_21);
            field = type.GetField("flagsEx", flag);
            app.RegisterCLRFieldGetter(field, get_flagsEx_22);
            app.RegisterCLRFieldSetter(field, set_flagsEx_22);
            app.RegisterCLRFieldBinding(field, CopyToStack_flagsEx_22, AssignFromStack_flagsEx_22);


            app.RegisterCLRCreateDefaultInstance(type, () => new huqiang.FileDlg());
            app.RegisterCLRCreateArrayInstance(type, s => new huqiang.FileDlg[s]);

            args = new Type[]{};
            method = type.GetConstructor(flag, null, args, null);
            app.RegisterCLRMethodRedirection(method, Ctor_0);

        }



        static object get_structSize_0(ref object o)
        {
            return ((huqiang.FileDlg)o).structSize;
        }

        static StackObject* CopyToStack_structSize_0(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).structSize;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_structSize_0(ref object o, object v)
        {
            ((huqiang.FileDlg)o).structSize = (System.Int32)v;
        }

        static StackObject* AssignFromStack_structSize_0(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @structSize = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).structSize = @structSize;
            return ptr_of_this_method;
        }

        static object get_dlgOwner_1(ref object o)
        {
            return ((huqiang.FileDlg)o).dlgOwner;
        }

        static StackObject* CopyToStack_dlgOwner_1(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).dlgOwner;
            __ret->ObjectType = ObjectTypes.Integer;
            *(IntPtr*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_dlgOwner_1(ref object o, object v)
        {
            ((huqiang.FileDlg)o).dlgOwner = (System.IntPtr)v;
        }

        static StackObject* AssignFromStack_dlgOwner_1(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.IntPtr @dlgOwner = *(IntPtr*)&ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).dlgOwner = @dlgOwner;
            return ptr_of_this_method;
        }

        static object get_instance_2(ref object o)
        {
            return ((huqiang.FileDlg)o).instance;
        }

        static StackObject* CopyToStack_instance_2(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).instance;
            __ret->ObjectType = ObjectTypes.Integer;
            *(IntPtr*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_instance_2(ref object o, object v)
        {
            ((huqiang.FileDlg)o).instance = (System.IntPtr)v;
        }

        static StackObject* AssignFromStack_instance_2(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.IntPtr @instance = *(IntPtr*)&ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).instance = @instance;
            return ptr_of_this_method;
        }

        static object get_filter_3(ref object o)
        {
            return ((huqiang.FileDlg)o).filter;
        }

        static StackObject* CopyToStack_filter_3(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).filter;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_filter_3(ref object o, object v)
        {
            ((huqiang.FileDlg)o).filter = (System.String)v;
        }

        static StackObject* AssignFromStack_filter_3(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @filter = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).filter = @filter;
            return ptr_of_this_method;
        }

        static object get_customFilter_4(ref object o)
        {
            return ((huqiang.FileDlg)o).customFilter;
        }

        static StackObject* CopyToStack_customFilter_4(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).customFilter;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_customFilter_4(ref object o, object v)
        {
            ((huqiang.FileDlg)o).customFilter = (System.String)v;
        }

        static StackObject* AssignFromStack_customFilter_4(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @customFilter = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).customFilter = @customFilter;
            return ptr_of_this_method;
        }

        static object get_maxCustFilter_5(ref object o)
        {
            return ((huqiang.FileDlg)o).maxCustFilter;
        }

        static StackObject* CopyToStack_maxCustFilter_5(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).maxCustFilter;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_maxCustFilter_5(ref object o, object v)
        {
            ((huqiang.FileDlg)o).maxCustFilter = (System.Int32)v;
        }

        static StackObject* AssignFromStack_maxCustFilter_5(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @maxCustFilter = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).maxCustFilter = @maxCustFilter;
            return ptr_of_this_method;
        }

        static object get_filterIndex_6(ref object o)
        {
            return ((huqiang.FileDlg)o).filterIndex;
        }

        static StackObject* CopyToStack_filterIndex_6(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).filterIndex;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_filterIndex_6(ref object o, object v)
        {
            ((huqiang.FileDlg)o).filterIndex = (System.Int32)v;
        }

        static StackObject* AssignFromStack_filterIndex_6(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @filterIndex = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).filterIndex = @filterIndex;
            return ptr_of_this_method;
        }

        static object get_file_7(ref object o)
        {
            return ((huqiang.FileDlg)o).file;
        }

        static StackObject* CopyToStack_file_7(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).file;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_file_7(ref object o, object v)
        {
            ((huqiang.FileDlg)o).file = (System.String)v;
        }

        static StackObject* AssignFromStack_file_7(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @file = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).file = @file;
            return ptr_of_this_method;
        }

        static object get_maxFile_8(ref object o)
        {
            return ((huqiang.FileDlg)o).maxFile;
        }

        static StackObject* CopyToStack_maxFile_8(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).maxFile;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_maxFile_8(ref object o, object v)
        {
            ((huqiang.FileDlg)o).maxFile = (System.Int32)v;
        }

        static StackObject* AssignFromStack_maxFile_8(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @maxFile = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).maxFile = @maxFile;
            return ptr_of_this_method;
        }

        static object get_fileTitle_9(ref object o)
        {
            return ((huqiang.FileDlg)o).fileTitle;
        }

        static StackObject* CopyToStack_fileTitle_9(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).fileTitle;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_fileTitle_9(ref object o, object v)
        {
            ((huqiang.FileDlg)o).fileTitle = (System.String)v;
        }

        static StackObject* AssignFromStack_fileTitle_9(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @fileTitle = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).fileTitle = @fileTitle;
            return ptr_of_this_method;
        }

        static object get_maxFileTitle_10(ref object o)
        {
            return ((huqiang.FileDlg)o).maxFileTitle;
        }

        static StackObject* CopyToStack_maxFileTitle_10(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).maxFileTitle;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_maxFileTitle_10(ref object o, object v)
        {
            ((huqiang.FileDlg)o).maxFileTitle = (System.Int32)v;
        }

        static StackObject* AssignFromStack_maxFileTitle_10(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @maxFileTitle = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).maxFileTitle = @maxFileTitle;
            return ptr_of_this_method;
        }

        static object get_initialDir_11(ref object o)
        {
            return ((huqiang.FileDlg)o).initialDir;
        }

        static StackObject* CopyToStack_initialDir_11(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).initialDir;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_initialDir_11(ref object o, object v)
        {
            ((huqiang.FileDlg)o).initialDir = (System.String)v;
        }

        static StackObject* AssignFromStack_initialDir_11(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @initialDir = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).initialDir = @initialDir;
            return ptr_of_this_method;
        }

        static object get_title_12(ref object o)
        {
            return ((huqiang.FileDlg)o).title;
        }

        static StackObject* CopyToStack_title_12(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).title;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_title_12(ref object o, object v)
        {
            ((huqiang.FileDlg)o).title = (System.String)v;
        }

        static StackObject* AssignFromStack_title_12(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @title = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).title = @title;
            return ptr_of_this_method;
        }

        static object get_flags_13(ref object o)
        {
            return ((huqiang.FileDlg)o).flags;
        }

        static StackObject* CopyToStack_flags_13(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).flags;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_flags_13(ref object o, object v)
        {
            ((huqiang.FileDlg)o).flags = (System.Int32)v;
        }

        static StackObject* AssignFromStack_flags_13(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @flags = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).flags = @flags;
            return ptr_of_this_method;
        }

        static object get_fileOffset_14(ref object o)
        {
            return ((huqiang.FileDlg)o).fileOffset;
        }

        static StackObject* CopyToStack_fileOffset_14(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).fileOffset;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_fileOffset_14(ref object o, object v)
        {
            ((huqiang.FileDlg)o).fileOffset = (System.Int16)v;
        }

        static StackObject* AssignFromStack_fileOffset_14(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int16 @fileOffset = (short)ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).fileOffset = @fileOffset;
            return ptr_of_this_method;
        }

        static object get_fileExtension_15(ref object o)
        {
            return ((huqiang.FileDlg)o).fileExtension;
        }

        static StackObject* CopyToStack_fileExtension_15(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).fileExtension;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_fileExtension_15(ref object o, object v)
        {
            ((huqiang.FileDlg)o).fileExtension = (System.Int16)v;
        }

        static StackObject* AssignFromStack_fileExtension_15(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int16 @fileExtension = (short)ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).fileExtension = @fileExtension;
            return ptr_of_this_method;
        }

        static object get_defExt_16(ref object o)
        {
            return ((huqiang.FileDlg)o).defExt;
        }

        static StackObject* CopyToStack_defExt_16(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).defExt;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_defExt_16(ref object o, object v)
        {
            ((huqiang.FileDlg)o).defExt = (System.String)v;
        }

        static StackObject* AssignFromStack_defExt_16(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @defExt = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).defExt = @defExt;
            return ptr_of_this_method;
        }

        static object get_custData_17(ref object o)
        {
            return ((huqiang.FileDlg)o).custData;
        }

        static StackObject* CopyToStack_custData_17(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).custData;
            __ret->ObjectType = ObjectTypes.Integer;
            *(IntPtr*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_custData_17(ref object o, object v)
        {
            ((huqiang.FileDlg)o).custData = (System.IntPtr)v;
        }

        static StackObject* AssignFromStack_custData_17(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.IntPtr @custData = *(IntPtr*)&ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).custData = @custData;
            return ptr_of_this_method;
        }

        static object get_hook_18(ref object o)
        {
            return ((huqiang.FileDlg)o).hook;
        }

        static StackObject* CopyToStack_hook_18(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).hook;
            __ret->ObjectType = ObjectTypes.Integer;
            *(IntPtr*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_hook_18(ref object o, object v)
        {
            ((huqiang.FileDlg)o).hook = (System.IntPtr)v;
        }

        static StackObject* AssignFromStack_hook_18(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.IntPtr @hook = *(IntPtr*)&ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).hook = @hook;
            return ptr_of_this_method;
        }

        static object get_templateName_19(ref object o)
        {
            return ((huqiang.FileDlg)o).templateName;
        }

        static StackObject* CopyToStack_templateName_19(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).templateName;
            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }

        static void set_templateName_19(ref object o, object v)
        {
            ((huqiang.FileDlg)o).templateName = (System.String)v;
        }

        static StackObject* AssignFromStack_templateName_19(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.String @templateName = (System.String)typeof(System.String).CheckCLRTypes(StackObject.ToObject(ptr_of_this_method, __domain, __mStack), (CLR.Utils.Extensions.TypeFlags)0);
            ((huqiang.FileDlg)o).templateName = @templateName;
            return ptr_of_this_method;
        }

        static object get_reservedPtr_20(ref object o)
        {
            return ((huqiang.FileDlg)o).reservedPtr;
        }

        static StackObject* CopyToStack_reservedPtr_20(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).reservedPtr;
            __ret->ObjectType = ObjectTypes.Integer;
            *(IntPtr*)&__ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_reservedPtr_20(ref object o, object v)
        {
            ((huqiang.FileDlg)o).reservedPtr = (System.IntPtr)v;
        }

        static StackObject* AssignFromStack_reservedPtr_20(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.IntPtr @reservedPtr = *(IntPtr*)&ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).reservedPtr = @reservedPtr;
            return ptr_of_this_method;
        }

        static object get_reservedInt_21(ref object o)
        {
            return ((huqiang.FileDlg)o).reservedInt;
        }

        static StackObject* CopyToStack_reservedInt_21(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).reservedInt;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_reservedInt_21(ref object o, object v)
        {
            ((huqiang.FileDlg)o).reservedInt = (System.Int32)v;
        }

        static StackObject* AssignFromStack_reservedInt_21(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @reservedInt = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).reservedInt = @reservedInt;
            return ptr_of_this_method;
        }

        static object get_flagsEx_22(ref object o)
        {
            return ((huqiang.FileDlg)o).flagsEx;
        }

        static StackObject* CopyToStack_flagsEx_22(ref object o, ILIntepreter __intp, StackObject* __ret, IList<object> __mStack)
        {
            var result_of_this_method = ((huqiang.FileDlg)o).flagsEx;
            __ret->ObjectType = ObjectTypes.Integer;
            __ret->Value = result_of_this_method;
            return __ret + 1;
        }

        static void set_flagsEx_22(ref object o, object v)
        {
            ((huqiang.FileDlg)o).flagsEx = (System.Int32)v;
        }

        static StackObject* AssignFromStack_flagsEx_22(ref object o, ILIntepreter __intp, StackObject* ptr_of_this_method, IList<object> __mStack)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            System.Int32 @flagsEx = ptr_of_this_method->Value;
            ((huqiang.FileDlg)o).flagsEx = @flagsEx;
            return ptr_of_this_method;
        }



        static StackObject* Ctor_0(ILIntepreter __intp, StackObject* __esp, IList<object> __mStack, CLRMethod __method, bool isNewObj)
        {
            ILRuntime.Runtime.Enviorment.AppDomain __domain = __intp.AppDomain;
            StackObject* __ret = ILIntepreter.Minus(__esp, 0);

            var result_of_this_method = new huqiang.FileDlg();

            return ILIntepreter.PushObject(__ret, __mStack, result_of_this_method);
        }


    }
}
